﻿using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;

public class TestMenu : MonoBehaviour
{
    [MenuItem("XFKT/Test1",false,11)]
    static void Test1() {
        //Debug.Log(" xfkt test1 ");
        TestPreview testWindow = EditorWindow.GetWindow<TestPreview>("xfkt");
        testWindow.Show();
    }

    [MenuItem("XFKT/Test2 %#m", false, 0)]
    static void Test2()
    {
        //Debug.Log(" xfkt test2 ");
        TestWindow testWindow = EditorWindow.GetWindow<TestWindow>("xfkt");
        testWindow.Show();
    }

    [MenuItem("XFKT/Test1",true)]
    static bool Test1Validate() {
        return true;
    }

}
